package com.ym.soso.dao;

import com.ym.soso.domain.entity.PensionInfoEntity;
import com.ym.soso.domain.param.PensionInfoAppQryParam;
import com.ym.soso.domain.param.PensionInfoQueryParam;
import com.ym.soso.domain.vo.PensionInfoListPcVO;
import com.ym.soso.domain.vo.PensionInfoSimVO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 养老Dao接口
 *
 * @author ym
 * @date 2020-09-02
 */
@Repository
public interface PensionInfoDao extends Mapper<PensionInfoEntity>{

    /**
     * 查询养老列表,PC专用不要轻易混用更改
     *
     * @param queryParam  养老查询参数
     * @return 养老集合
     */
    List<PensionInfoListPcVO> selectListPC(PensionInfoQueryParam queryParam);

	/**
	 * 手机端列表查看
	 * @param param
	 * @return
	 */
	List<PensionInfoSimVO> listPensionInfo(PensionInfoAppQryParam param);
}
